package com.example.test.factory.abstract_method.wechat;

import com.example.test.factory.abstract_method.PayFactory;
import com.example.test.factory.abstract_method.RefundFactory;
import com.example.test.factory.abstract_method.SuperFactory;

/**
 * @author 晓果冻
 * @version 1.0
 * @date 2021/12/9 22:45
 */
public class WechatFactory implements SuperFactory {
    @Override
    public PayFactory creatPay() {
        return new WeChatPay();
    }

    @Override
    public RefundFactory createRefund() {
        return new WechatRefund();
    }
}
